package com.peas.platform.module.icims.budget.adjust.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.adjust.adapter.repository.BudgetNewPurchaseRepository;
import com.peas.platform.module.icims.budget.adjust.adapter.repository.po.BudgetNewPurchasePo;
import com.peas.platform.module.icims.budget.adjust.domain.BudgetNewPurchaseDomain;
import com.peas.platform.module.icims.budget.adjust.dto.BudgetNewPurchaseDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BudgetNewPurchaseDomainImpl extends BaseDomainImpl<BudgetNewPurchaseDto, BudgetNewPurchasePo> implements BudgetNewPurchaseDomain {

    @Resource
    private BudgetNewPurchaseRepository budgetNewPurchaseRepository;

    @Override
    public BaseRepository<BudgetNewPurchasePo> getMapper() {
        return budgetNewPurchaseRepository;
    }

    @Override
    public Class<? extends BaseRepository<BudgetNewPurchasePo>> getRepositoryClass() {
        return BudgetNewPurchaseRepository.class;
    }

}
